package com.CmJava.tomcat.Server.req_resp;

import java.io.InputStream;
import java.io.OutputStream;

public class HttpServletRequest {
    private String method;
    private String host;
    private String context;
    private InputStream inputStream;

    public HttpServletRequest(String method, String host, String context, InputStream inputStream) {
        this.method = method;
        this.host = host;
        this.context = context;
        this.inputStream = inputStream;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public InputStream getInputStream() {
        return inputStream;
    }

    public void setInputStream(InputStream inputStream) {
        this.inputStream = inputStream;
    }
}
